package fr.mma.livraison.model.persistence;

import javax.persistence.Id;

import com.googlecode.objectify.annotation.Cached;

import fr.mma.livraison.model.TypeAppli;

@Cached
public class Application {
	@Id
	private String name;
	private TypeAppli type;
	private int priorite;

	/**
	 * Constructeur.
	 */
	public Application() {
		//RAS
	}

	/**
	 * Constructeur.
	 */
	public Application(final String name) {
		this.name = name;
	}

	public String getName() {
		return name;
	}

	public void setName(final String name) {
		this.name = name;
	}

	public final int getPriorite() {
		return priorite;
	}

	public final void setPriorite(final int priorite) {
		this.priorite = priorite;
	}

	public TypeAppli getType() {
		return type;
	}

	public void setType(TypeAppli type) {
		this.type = type;
	}
}
